package com.cos.entity;

import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
  * @author: zxc
  * @return:
  * @time:  2021/5/13 19:05
  * @description:
  */
public class Job implements Serializable {
    private String jobId;
    private String jobTitle;
    private Double minSalary;
    private Double maxSalary;

    public Job() {
    }

    public Job(@Param("jobId") String jobId, @Param("jobTitle") String jobTitle, @Param("minSalary")Double minSalary, @Param("maxSalary")Double maxSalary) {
        this.jobId = jobId;
        this.jobTitle = jobTitle;
        this.minSalary = minSalary;
        this.maxSalary = maxSalary;
    }

    @Override
    public String toString() {
        return "Job{" +
                "jobId='" + jobId + '\'' +
                ", jobTitle='" + jobTitle + '\'' +
                ", minSalary=" + minSalary +
                ", maxSalary=" + maxSalary +
                '}';
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public Double getMinSalary() {
        return minSalary;
    }

    public void setMinSalary(Double minSalary) {
        this.minSalary = minSalary;
    }

    public Double getMaxSalary() {
        return maxSalary;
    }

    public void setMaxSalary(Double maxSalary) {
        this.maxSalary = maxSalary;
    }
}
